package com.lagou.dao;

import com.lagou.model.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by IntelliJ IDEA.
 * User: Yangdx.
 * Date: 2020/7/26.
 * Time: 1:24.
 * Tags: Code, we are serious.
 */
public interface UserInfoDao  extends JpaRepository<UserInfo, Integer> {

    UserInfo findFirstByEmail(String email);
}
